package com.zhiyou100.mapper;

import com.zhiyou100.entity.TbQuestion;
import com.zhiyou100.entity.TbQuestionExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TbQuestionMapper {
    long countByExample(TbQuestionExample example);

    int deleteByExample(TbQuestionExample example);

    int deleteByPrimaryKey(Integer questionId);

    int insert(TbQuestion record);

    int insertSelective(TbQuestion record);

    List<TbQuestion> selectByExample(TbQuestionExample example);

    TbQuestion selectByPrimaryKey(Integer questionId);

    int updateByExampleSelective(@Param("record") TbQuestion record, @Param("example") TbQuestionExample example);

    int updateByExample(@Param("record") TbQuestion record, @Param("example") TbQuestionExample example);

    int updateByPrimaryKeySelective(TbQuestion record);

    int updateByPrimaryKey(TbQuestion record);
}